package com.ruoyi.system.service;

import com.ruoyi.system.domain.OrderInfoBO;
import com.ruoyi.system.domain.PropertyFeedback;
import com.ruoyi.system.domain.Story;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PropertyService {


    /**
     * 查询物业报修信息集合
     *
     * @return 物业报修信息集合
     */
    List<OrderInfoBO> selectPropertyList(String studentId, String classID, String departmentID, String beginTime, String endTime) throws Exception;

    List<OrderInfoBO> getThreeDaysOrders(String studentId, String classID, String departmentID, String beginTime, String endTime) throws Exception;

    List<OrderInfoBO> getOrderInfoByCreateTime(String CREATE_TIME,int days,int status);

    OrderInfoBO getOrderInfoById(int id);

    List<OrderInfoBO> selectOrderInfoListByTime(@Param("beginTime") String beginTime);

    PropertyFeedback getFeedbackById(int id);

    /**
     * 新增小事说
     * @param propertyFeedback
     * @return
     */
    boolean insertFeedback(PropertyFeedback propertyFeedback);

    boolean updateFeedback(PropertyFeedback propertyFeedback);

    List<OrderInfoBO> getFeedback();
}
